package com.lvtu.monitor.notification.mail;

import java.util.Observable;

import org.springframework.stereotype.Repository;

import com.lvtu.monitor.dao.exmatch.po.ExDetail;

/** 
 * @Title: ExObservable.java 
 * @Package com.lvtu.monitor.notification.mail 
 * @Description: TODO 
 * @author dengcheng 
 * @date 2015-5-22 下午1:48:51 
 * @version V1.0.0 
 */

@Repository
public class ExObservable extends Observable{
	
	public String pattern;
	
	private ExDetail ex;

	public String getPattern() {
		return pattern;
	}

	public void setPattern(String pattern) {
		this.pattern = pattern;
	}
	
	public ExDetail getEx() {
		return ex;
	}

	public void setEx(ExDetail ex) {
		this.ex = ex;
		setChanged();
	    notifyObservers();
	}
	
}
